package com.qq2008.game.mojie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qq2008.game.mojie.jdo.Chat;
import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface ChatService extends IService<Chat> {

    Integer insertChat(Chat chat);

    List<Chat> selectChat(Model model, HttpSession session);//查询所有聊天记录
}
